package com.blue.http.controller;

import org.springframework.stereotype.Component;

import com.blue.core.dict.HttpMethod;
import com.blue.http.annotation.Http;
import com.blue.http.message.HttpRequest;

@Component
@Http(url = "/echo", method = HttpMethod.POST)
public class EchoController
{
	public EchoController()
	{
	}
	
	public String echo(HttpRequest request)
	{
		return request.getContent();
	}
	
}
